﻿using LightCAD.Core;
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LightCAD.Runtime
{
   
    public class MainWindowController
    {
        public MainWindowController(IMainWindow window) {
            Window = window;
        }
        public IMainWindow Window { get; internal set; }
        public PointerStatus Pointer { get; set; }
        public DrawingInputManager Inputer { get; internal set; }


        public void OpenDocument(LcDocument doc)
        {
            this.Window.OpenDrawingTab(doc);
            DocumentManager.SetCurrent(doc);
        }

       
    }
}
